<template>
    <div class="pagination">
        <el-pagination
            layout="prev, pager, next"
            :total="content.total"
            :current-page="content.current_page"
            @current-change="change"
            :page-size="15"
            >
        </el-pagination>
    </div>
</template>

<script>
// import imgurl from '_img/bannerimg.png';
export default {
    name: "newsflashdetails",
    props: ["content"],
    data() {
        return {

        };
    },
    methods: {
         change(data){
            console.log(data)
            let _Data = {
               page: data,
            };
            this.$emit('func', _Data)
        },
    }
};
</script>

